package router

import (
	"github.com/gin-gonic/gin"
	"phone-guard/handler"
)

func Init() *gin.Engine {

	r := gin.Default()
	r.GET("/add", handler.AddStudent)

	r.POST("/list", handler.ListStudent)
	return r
}
